package com.itic.market.system.user.persistence.dao;

import java.util.List;

import com.itic.appbase.framework.common.annotation.IticDBDao;
import com.itic.appbase.framework.common.persistence.dao.CrudDao;
import com.itic.market.system.user.persistence.basedao.MarketUserMapper;
import com.itic.market.system.user.persistence.model.MarketUser;
import com.itic.market.system.user.persistence.model.MarketUserExample;


@IticDBDao
public interface MarketUserDao
     extends MarketUserMapper,CrudDao<MarketUser,MarketUserExample> {

	MarketUser getUserByInvitingCode(String invitingCode);

	MarketUser getUserByOpenid(String openid);

	MarketUser getUserByUnionId(String unionId);

	MarketUser getUserByName(String userNickName);

	int countDownDown(String id);

	List<MarketUser> findDownDown(String id);
}